package ${packageName}.${moduleName}.dao;

import com.finance.base.bean.pojo.Page;
import com.finance.base.bean.pojo.PageResultBO;
import org.apache.ibatis.annotations.Param;
import ${packageName}.${moduleName}.bean.pojo.${className};
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ${className}Mapper {
${className} getById(@Param("${firstParam}")${firstColType} ${firstParam});
	List<${className}> listAll();
	int queryListCount(Map param);
	List<${className}> listByPage(Page page);
	int add(${className} ${lowClassName});
	int delete(@Param("${firstCol}")${firstColType} ${firstParam});
	int update(${className} ${lowClassName});
}